<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>算法执行 - 稳定匹配可视化系统</title>
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/execute.css">
</head>
<body>
    <!-- 顶部导航栏 -->
    <header class="navbar">
        <div class="container">
            <h1 class="logo">稳定匹配可视化系统</h1>
            <nav class="nav-menu">
                <ul>
                    <li><a href="index.html">首页</a></li>
                    <li><a href="results.html">匹配结果</a></li>
                    <li><a href="process.html">匹配过程</a></li>
                    <li><a href="upload.html">数据上传</a></li>
                    <li><a href="execute.html" class="active">算法执行</a></li>
                </ul>
            </nav>
        </div>
    </header>

    <!-- 主要内容区域 -->
    <main class="main-content">
        <div class="container">
            <h2>算法执行</h2>
            
            <!-- 算法执行控制 -->
            <section class="execution-control">
                <h3>执行控制</h3>
                <div class="control-buttons">
                    <button id="run-algorithm" class="btn btn-primary">运行算法</button>
                    <button id="stop-algorithm" class="btn btn-secondary" disabled>停止算法</button>
                </div>
                
                <div id="execution-status" class="execution-status">
                    <p>准备就绪</p>
                </div>
            </section>

            <!-- 算法状态监控 -->
            <section class="algorithm-status">
                <h3>算法状态</h3>
                <div class="status-grid">
                    <div class="status-item">
                        <h4>运行状态</h4>
                        <p id="running-status">未运行</p>
                    </div>
                    <div class="status-item">
                        <h4>执行进度</h4>
                        <p id="execution-progress">0%</p>
                    </div>
                    <div class="status-item">
                        <h4>当前阶段</h4>
                        <p id="current-phase">等待启动</p>
                    </div>
                </div>
            </section>

            <!-- 执行结果摘要 -->
            <section class="execution-results">
                <h3>执行结果摘要</h3>
                <div id="results-summary">
                    <p>算法执行完成后将显示结果摘要</p>
                </div>
            </section>
        </div>
    </main>

    <!-- 底部信息栏 -->
    <footer class="footer">
        <div class="container">
            <p>&copy; 2025 稳定匹配可视化系统. All rights reserved.</p>
        </div>
    </footer>

    <script src="js/main.js"></script>
    <script src="js/execute.js"></script>
</body>
</html>